package com.ssyt.ec.stu.entity;

public class ExamInfoEnetity {
	private String pagename;
	private String start_time;
	private String submit_time;
	private int total_point;
	private int get_point;
	private int is_pass;

	public String getPagename() {
		return pagename;
	}

	public void setPagename(String pagename) {
		this.pagename = pagename;
	}

	public String getStart_time() {
		start_time = start_time.substring(0, start_time.length() - 2);
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getSubmit_time() {
		submit_time = submit_time.substring(0, submit_time.length() - 2);
		return submit_time;
	}

	public void setSubmit_time(String submit_time) {
		this.submit_time = submit_time;
	}

	public int getTotal_point() {
		return total_point;
	}

	public void setTotal_point(int total_point) {
		this.total_point = total_point;
	}

	public int getGet_point() {
		return get_point;
	}

	public void setGet_point(int get_point) {
		this.get_point = get_point;
	}

	public String getIs_pass() {
		if (is_pass == 1) {
			return "通过";
		} else if (is_pass == 2) {
			return "未通过";
		} else {
			return "未提交或超时";
		}
	}

	public void setIs_pass(int is_pass) {
		this.is_pass = is_pass;
	}
}
